<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="<?php echo base_url() ?>css/reset.css" type="text/css" rel="stylesheet" media="screen" />
        <link href="<?php echo base_url() ?>css/style.css" type="text/css" rel="stylesheet" media="screen" />
        <title>fashion woman</title>
    </head>
    <body>
        <div id="main_box">
            <h1>Chức năng chỉnh sửa thông tin sản phẩm</h1>
            <div class="cleared">
                <?php echo form_open_multipart(current_url()); ?>
                <?php echo $custom_error; ?>
                <?php echo form_hidden('id', $result->id) ?>

                <p><label for="ma_sp">Ma_sp<span class="required">*</span></label>                                
                    <input id="ma_sp" type="text" name="ma_sp" value="<?php echo $result->ma_sp ?>"  />
<?php echo form_error('ma_sp', '<div>', '</div>'); ?>
                </p>


                <p><label for="maloaisp">Maloaisp<span class="required">*</span></label>                                
                    <input id="maloaisp" type="text" name="maloaisp" value="<?php echo $result->maloaisp ?>"  />
<?php echo form_error('maloaisp', '<div>', '</div>'); ?>
                </p>


                <p><label for="ten_sp">Ten_sp<span class="required">*</span></label>                                
                    <input id="ten_sp" type="text" name="ten_sp" value="<?php echo $result->ten_sp ?>"  />
<?php echo form_error('ten_sp', '<div>', '</div>'); ?>
                </p>


                <p><label for="gia">Gia<span class="required">*</span></label>                                
                    <input id="gia" type="text" name="gia" value="<?php echo $result->gia ?>"  />
<?php echo form_error('gia', '<div>', '</div>'); ?>
                </p>


                <p><label for="gioithieu_sp">Gioithieu_sp<span class="required">*</span></label>                                
                    <input id="gioithieu_sp" type="text" name="gioithieu_sp" value="<?php echo $result->gioithieu_sp ?>"  />
<?php echo form_error('gioithieu_sp', '<div>', '</div>'); ?>
                </p>


                <p><label for="hinh_sp">Hinh_sp<span class="required">*</span></label>                                
                    <!--<input id="hinh_sp" type="text" name="hinh_sp" value="<?php echo $result->hinh_sp ?>"  />-->
                    <?php echo form_upload('hinh_sp') ?>
<?php echo form_error('hinh_sp', '<div>', '</div>'); ?>
                </p>


                <p><label for="soluong_sp">Soluong_sp<span class="required">*</span></label>                                
                    <input id="soluong_sp" type="text" name="soluong_sp" value="<?php echo $result->soluong_sp ?>"  />
<?php echo form_error('soluong_sp', '<div>', '</div>'); ?>
                </p>


                <p><label for="sp_xuhuong">Sp_xuhuong<span class="required">*</span></label>                                
                    <input id="sp_xuhuong" type="text" name="sp_xuhuong" value="<?php echo $result->sp_xuhuong ?>"  />
<?php echo form_error('sp_xuhuong', '<div>', '</div>'); ?>
                </p>

                <p>
<?php echo form_submit('submit', 'Submit'); ?>
                </p>

<?php echo form_close(); ?>
            </div>
        </div>
    </body>
</html>